namespace GraphQLDemo.Domain.Orders;

public class Order
{
    public Guid Id { get; set; }
    public Guid ContractId { get; set; }
    public Guid CompanyId { get; set; }
    public string Number { get; set; }
    public decimal Price { get; set; }
    public StatusType StatusType { get; set; }
    public DateTime CreationTime { get; set; }
}

public enum StatusType
{
    Created,
    Executing,
    Complete,
    Cancel
}